<template>
  <div>
    <div class="nav_main">
      <router-link to="/one">第一题</router-link>
      <router-link to="/two">第二题</router-link>
      <router-link to="/three">第三题</router-link>
      <router-link to="/four">第四题</router-link>
      <router-link to="/five">第五题</router-link>
      <router-link to="/six">第六题</router-link>
      <router-link to="/seven">第七题</router-link>
      <router-link to="/eight">第八题</router-link>
      <router-link to="/nine">第九题</router-link>
    </div>

    <div style="1px solid red;">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style scoped>
.nav_main {
  background-color: red;
  color: white;
  padding: 10px 0;
}
.nav_main a {
  text-align: center;
  text-decoration: none;
  color: white;
  font-size: 12px;
  margin: 7px 17px 0;
  padding: 0px 15px 2px 15px;
  height: 20px;
  display: inline-block;
  line-height: 20px;
  border-radius: 20px;
}
.nav_main a:hover {
  background-color: brown;
}
.nav_main .router-link-active {
  background-color: brown;
}
</style>
